import { exInput, exImageFitSelect } from '@ve/common/components/extension'
export default {
  VERSION: '20220712',
  type: 'uiPdaImage',
  name: '图片',
  icon: 'image-line',
  //数据别名
  // dataName: 'uiPdaImage_data',
  //扩展
  extension: {
    model: exInput('图片url', ''),
    width: exInput('宽度', '100'),
    height: exInput('高度', '100'),
    fit: exImageFitSelect('如何适应', 'fill'),
    top: exInput('垂直方向', '0'),
    left: exInput('水平方向', '0'),
  },
  //交互
  interaction: [],
  dataSourceBind: {
    sourceId: {
      type: 'exGetDataSource',
      name: '组件ID',
      value: {
        type: 1,
        source: [],
      },
    },
    // dataKey: exInput('数据Key', ''),
  },
  //条件、逻辑指令
  // logicInstruction: [],
}
